package hsb.ruoyi.admin.controller;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import java.util.concurrent.ThreadLocalRandom;

/**
 * @author 胡帅博
 * @date 2022/12/31 17:30
 */
@Path("test")
public class HttpSpeedController {


    @Path("/value")
    @GET
    @Produces(MediaType.TEXT_PLAIN)
    public int getUser() {
        ThreadLocalRandom current = ThreadLocalRandom.current();
        return current.nextInt()+211;
    }




}
